package com.novel.authorization.constant;

import lombok.Getter;

/**
 * YesOrNoEnum
 * 是否枚举
 *
 * @author 樊温军
 * @date 2025/3/25 下午1:49
 */
@Getter
public enum YesOrNoEnum {
    YES("是", "1"),
    NO("否", "0");

    private final String name;
    private final String value;

    YesOrNoEnum(String name, String value) {
        this.name = name;
        this.value = value;
    }
}
